return {
  "terrortylor/nvim-comment",
  config = function()
    require("nvim_comment").setup({
      marker_padding = true,
      comment_empty = true,
      comment_empty_trim_whitespace = true,
      -- 使用默认键设置
      create_mappings = true,
      line_mapping = "gcc",
      operator_mapping = "gc",
      comment_chunk_text_object = "ic",
      hook = nil,
    })
  end,
  keys = {
    -- 在这里添加自定义按键
    { "<leader>cc", "<cmd>lua require('nvim_comment').toggle()<cr>", desc = "Toggle comment" },
    { "<leader>cl", "<cmd>lua require('nvim_comment').toggle_linewise()<cr>", desc = "Toggle line comment" },
    { "<leader>cb", "<cmd>lua require('nvim_comment').toggle_blockwise()<cr>", desc = "Toggle block comment" },
  },
}
